#ifndef SAVEPATHWIDGET_H
#define SAVEPATHWIDGET_H
#include <kaboutdialog.h>
#include "../fileProcess/fileprocess.h"

#include <QObject>
#include <QWidget>
#include <QPushButton>
#include <QGridLayout>
#include <QLabel>
#include <QFileDialog>
class SavePathDialog : public kdk::KDialog
{
    Q_OBJECT
public:
    explicit SavePathDialog(QWidget *parent = nullptr);
    void updateLabel(QString savepath);
    QString getSavePath();
signals:
    void savePathUpdate(const QString& filePath);
public slots:
    void onModifyBtnClicked();


private:
    QLabel *m_pathLabel;
    QPushButton *m_modifyBtn;
    QPushButton *m_confirmBtn;
    QString m_savepath;
};

#endif // SAVEPATHWIDGET_H
